Skip to content

[test][github] Split the current Github tests into 5 jobs#46

Merged
forfudan merged 5 commits intomainfrom
test
Apr 10, 2026
Merged

[test][github] Split the current Github tests into 5 jobs#46
forfudan merged 5 commits intomainfrom
test

Conversation

@forfudan
Copy link
Copy Markdown
Owner

@forfudan forfudan commented Apr 10, 2026

This PR updates the GitHub Actions CI workflow to split the existing monolithic test run into multiple jobs, aiming to improve CI parallelism and isolate failures.

Changes:

  • Introduces a dedicated build job that runs formatting checks and packages the project.
  • Splits the test suite into four separate jobs (test-core, test-features, test-declarative, test-examples).
  • Replaces the single pixi run test invocation with explicit per-test mojo run … commands in the split jobs.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the GitHub Actions CI workflow to split the existing monolithic test run into multiple jobs, aiming to improve CI parallelism and isolate failures.

Changes:

  • Introduces a dedicated build job that runs formatting checks and packages the project.
  • Splits the test suite into four separate jobs (test-core, test-features, test-declarative, test-examples).
  • Replaces the single pixi run test invocation with explicit per-test mojo run … commands in the split jobs.
Comments suppressed due to low confidence (1)

.github/workflows/run_tests.yaml:206

  • pixi run debug already runs pixi run package internally (per pixi tasks), so this explicit “Build package” step duplicates work and increases CI time. Consider removing the separate package step for this job, or adjust debug to not re-package so the workflow controls packaging consistently.
      - name: Build package (with retry)
        run: |
          for attempt in 1 2 3; do
            if pixi run package; then break; fi
            if [ "$attempt" -eq 3 ]; then exit 1; fi
            sleep 5
          done
      - name: Run example binaries (with retry)
        run: |
          for attempt in 1 2 3; do
            echo "=== debug attempt $attempt ==="
            if pixi run debug; then

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@forfudan forfudan merged commit cfec876 into main Apr 10, 2026
5 checks passed
@forfudan forfudan deleted the test branch April 10, 2026 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants